﻿/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/// <reference path="../ckfinder/ckfinder.js" />

CKEDITOR.editorConfig = function (config) {
    // 与ckFinder集成
    CKFinder.setupCKEditor(null, '/ckfinder/'); 
    // Define changes to default configuration here. For example:
    config.language = 'en';
    config.skin = "v2";
    config.toolbar =
    [
    	['Font', 'FontSize', 'TextColor', 'JustifyLeft', 'JustifyCenter' , 'Bold', 'Italic', 'Underline', 'Smiley', '-', 'NumberedList', 'BulletedList',
            'Undo', 'Redo', '-', 'Find', 'Replace', 'SelectAll', 'Maximize', 'Image', 'About']
	]
    config.uiColor = '#AADC6E';
    config.width = '80%';
    config.height = '280px';
    //当从word里复制文字进来时，是否进行文字的格式化去除 plugins/pastefromword/plugin.js

    config.pasteFromWordIgnoreFontFace = false; //默认为忽略格式
};
